<%@ page language="java" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basepath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
	String currentItem = request.getParameter("currentItem");
	int highlight = 1;
	if (currentItem == null || "".equals(currentItem)) {
		highlight = 1;
	} else {
		highlight = Integer.parseInt(currentItem);
	}
%>
<table id="top-table">
  <tr>
    <td height="120" align="center" valign="top"><div align="center"><img src="<%=basepath %>inc/img/menu_bg.gif"/></div></td>
    <td width="300" align=right><font class="words"><B>Quick gene search: </b><br><i>enter gene names or orfs</i><p><INPUT TYPE="TEXT" NAME="keys" SIZE="10">&nbsp;<INPUT TYPE=submit NAME="submit" value="submit" onClick='return quicksearchForm()'></font><p><a href="./DRYGIN_help.html#quicksearch" target=_blank class="bbutton"><font class="bbutton">Problem with searching</font></a><img src="<%=basepath %>inc/img/dryginhelp.jpg" height=20></td> 
  </tr>
</table>

<div id="top-stuff">
	<div id="banners" style="clear:both;"></div> 
	<div id="top-bar-outer">
		<div id="top-bar-bg"></div>
		<div id="top-bar">
			<div class="top-bar-inside">
				<div class="static-links">
					<div id="logo">
						<a href="/">Logo</a>
					</div>
					<div id="global-nav">
						<ul>
							<li <%= highlight == 1 ? "class='active'" : "" %>>
								<a href="milk.jsp">我的鲜奶</a>
							</li>
							<li <%= highlight == 2 ? "class='active'" : "" %>>
								<a href="cows.jsp">奶牛管理</a>
							</li>
						</ul>
						<div id="sections"></div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

